import Cookies from 'js-cookie'

const cookieKey = 'token_key'

export function getCookie (name) {
  return Cookies.get(name || cookieKey)
}

export function setCookie (name, value) {
  Cookies.set(name || cookieKey, value)
}

export function removeCookie (name) {
  Cookies.remove(name || cookieKey)
}
